<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.EditRawMaterialRequirementWeeklyEntityTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputLabel value="#{bundle.EditRawMaterialRequirementWeeklyEntityLabel_grossRequirement}" for="grossRequirement" />
                    <h:inputText id="grossRequirement" value="#{rawMaterialRequirementWeeklyEntityController.selected.grossRequirement}" title="#{bundle.EditRawMaterialRequirementWeeklyEntityTitle_grossRequirement}" />
                    <h:outputLabel value="#{bundle.EditRawMaterialRequirementWeeklyEntityLabel_mpsWeekly}" for="mpsWeekly" />
                    <h:selectOneMenu id="mpsWeekly" value="#{rawMaterialRequirementWeeklyEntityController.selected.mpsWeekly}" title="#{bundle.EditRawMaterialRequirementWeeklyEntityTitle_mpsWeekly}" >
                        <f:selectItems value="#{masterProductionScheduleWeeklyEntityController.itemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                    <h:outputLabel value="#{bundle.EditRawMaterialRequirementWeeklyEntityLabel_onHandQuantiy}" for="onHandQuantiy" />
                    <h:inputText id="onHandQuantiy" value="#{rawMaterialRequirementWeeklyEntityController.selected.onHandQuantiy}" title="#{bundle.EditRawMaterialRequirementWeeklyEntityTitle_onHandQuantiy}" />
                    <h:outputLabel value="#{bundle.EditRawMaterialRequirementWeeklyEntityLabel_plannedOrderQuantity}" for="plannedOrderQuantity" />
                    <h:inputText id="plannedOrderQuantity" value="#{rawMaterialRequirementWeeklyEntityController.selected.plannedOrderQuantity}" title="#{bundle.EditRawMaterialRequirementWeeklyEntityTitle_plannedOrderQuantity}" />
                    <h:outputLabel value="#{bundle.EditRawMaterialRequirementWeeklyEntityLabel_rawMaterial}" for="rawMaterial" />
                    <h:selectOneMenu id="rawMaterial" value="#{rawMaterialRequirementWeeklyEntityController.selected.rawMaterial}" title="#{bundle.EditRawMaterialRequirementWeeklyEntityTitle_rawMaterial}" >
                        <f:selectItems value="#{rawMaterialEntityController.itemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                    <h:outputLabel value="#{bundle.EditRawMaterialRequirementWeeklyEntityLabel_scheduledReceipt}" for="scheduledReceipt" />
                    <h:selectOneMenu id="scheduledReceipt" value="#{rawMaterialRequirementWeeklyEntityController.selected.scheduledReceipt}" title="#{bundle.EditRawMaterialRequirementWeeklyEntityTitle_scheduledReceipt}" >
                        <f:selectItems value="#{rawMaterialPurchaseOrderReportEntityController.itemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                    <h:outputLabel value="#{bundle.EditRawMaterialRequirementWeeklyEntityLabel_weekOfProduction}" for="weekOfProduction" />
                    <h:inputText id="weekOfProduction" value="#{rawMaterialRequirementWeeklyEntityController.selected.weekOfProduction}" title="#{bundle.EditRawMaterialRequirementWeeklyEntityTitle_weekOfProduction}" />
                    <h:outputLabel value="#{bundle.EditRawMaterialRequirementWeeklyEntityLabel_yearOfProduction}" for="yearOfProduction" />
                    <h:inputText id="yearOfProduction" value="#{rawMaterialRequirementWeeklyEntityController.selected.yearOfProduction}" title="#{bundle.EditRawMaterialRequirementWeeklyEntityTitle_yearOfProduction}" />
                    <h:outputLabel value="#{bundle.EditRawMaterialRequirementWeeklyEntityLabel_id}" for="id" />
                    <h:inputText id="id" value="#{rawMaterialRequirementWeeklyEntityController.selected.id}" title="#{bundle.EditRawMaterialRequirementWeeklyEntityTitle_id}" />
                    <h:outputLabel value="#{bundle.EditRawMaterialRequirementWeeklyEntityLabel_createdAt}" for="createdAt" />
                    <h:inputText id="createdAt" value="#{rawMaterialRequirementWeeklyEntityController.selected.createdAt}" title="#{bundle.EditRawMaterialRequirementWeeklyEntityTitle_createdAt}" >
                        <f:convertDateTime pattern="MM/dd/yyyy" />
                    </h:inputText>
                    <h:outputLabel value="#{bundle.EditRawMaterialRequirementWeeklyEntityLabel_createdBy}" for="createdBy" />
                    <h:inputText id="createdBy" value="#{rawMaterialRequirementWeeklyEntityController.selected.createdBy}" title="#{bundle.EditRawMaterialRequirementWeeklyEntityTitle_createdBy}" />
                    <h:outputLabel value="#{bundle.EditRawMaterialRequirementWeeklyEntityLabel_lastModifiedAt}" for="lastModifiedAt" />
                    <h:inputText id="lastModifiedAt" value="#{rawMaterialRequirementWeeklyEntityController.selected.lastModifiedAt}" title="#{bundle.EditRawMaterialRequirementWeeklyEntityTitle_lastModifiedAt}" >
                        <f:convertDateTime pattern="MM/dd/yyyy" />
                    </h:inputText>
                    <h:outputLabel value="#{bundle.EditRawMaterialRequirementWeeklyEntityLabel_lastModifiedBy}" for="lastModifiedBy" />
                    <h:inputText id="lastModifiedBy" value="#{rawMaterialRequirementWeeklyEntityController.selected.lastModifiedBy}" title="#{bundle.EditRawMaterialRequirementWeeklyEntityTitle_lastModifiedBy}" />
                </h:panelGrid>
                <h:commandLink action="#{rawMaterialRequirementWeeklyEntityController.update}" value="#{bundle.EditRawMaterialRequirementWeeklyEntitySaveLink}"/>
                <br />
                <br />
                <h:commandLink action="View" value="#{bundle.EditRawMaterialRequirementWeeklyEntityViewLink}" immediate="true"/>
                <br />
                <h:commandLink action="#{rawMaterialRequirementWeeklyEntityController.prepareList}" value="#{bundle.EditRawMaterialRequirementWeeklyEntityShowAllLink}" immediate="true"/>
                <br />
                <br />
                <h:commandLink value="#{bundle.EditRawMaterialRequirementWeeklyEntityIndexLink}" action="/index" immediate="true" />
            </h:form>
        </ui:define>
    </ui:composition>

</html>
